package com.code.wanmi.entity.wm_user.dto;

import com.code.wanmi.entity.wm_user.WmSysRole;
import com.code.wanmi.entity.wm_user.WmSysUser;

public class SysUserDto {
    private WmSysUser wmSysUser;

    private WmSysRole wmSysRole;

    public SysUserDto(WmSysUser wmSysUser, WmSysRole wmSysRole) {
        this.wmSysUser = wmSysUser;
        this.wmSysRole = wmSysRole;
    }

    public SysUserDto() {
    }

    public WmSysUser getWmSysUser() {
        return wmSysUser;
    }

    public void setWmSysUser(WmSysUser wmSysUser) {
        this.wmSysUser = wmSysUser;
    }

    public WmSysRole getWmSysRole() {
        return wmSysRole;
    }

    public void setWmSysRole(WmSysRole wmSysRole) {
        this.wmSysRole = wmSysRole;
    }

    @Override
    public String toString() {
        return "SysUserDto{" +
                "wmSysUser=" + wmSysUser +
                ", wmSysRole=" + wmSysRole +
                '}';
    }
}
